//
//  GetMoneyController.m
//  WuJieLive
//
//  Created by 张瀚坤 on 2017/11/7.
//  Copyright © 2017年 zhk. All rights reserved.
//

#import "GetMoneyController.h"
#import "MyCardController.h"
#import "BindCardController.h"

@interface GetMoneyController ()

@property (weak, nonatomic) IBOutlet UIButton *cardBtn;

@property (weak, nonatomic) IBOutlet UIButton *getMoneyBtn;



@end

@implementation GetMoneyController


- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

-(void)setNavi
{
    self.title = @"提现";
}

-(void)setUI
{
    self.view.backgroundColor = Color(245, 245, 245);
    self.getMoneyBtn.layer.masksToBounds = YES;
    self.getMoneyBtn.layer.cornerRadius = 20;
    self.cardBtn.titleEdgeInsets = UIEdgeInsetsMake(0,10, 0, 0);
    
    [self.rightBtn setTitle:@"提现记录" forState:(UIControlStateNormal)];
}

-(void)rightBtnAction:(UIButton *)sender
{
    
}
- (IBAction)addCardAction:(id)sender {
    BindCardController * vc = [[BindCardController alloc]init];
    [self.navigationController pushViewController:vc animated:YES];
}

- (IBAction)getMoneyAction:(id)sender {
    MyCardController * vc = [[MyCardController alloc]init];
    [self.navigationController pushViewController:vc animated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
